package centralizedme;

/**
 *
 * @author palexander
 */
public class FoafMbox extends RdfProperty {
    // email of the person this foaf document refers to
    private String mbox;
    // the name for this property
    private final String propName = "foaf:mbox";

    /**
     * Constructor for foafName, relies on RdfProperty super constructor.
     * @param givenname  <code>String</code> of the property's givenname.
     */
    public FoafMbox(String mbox) {
        super("foaf:mbox");
        this.mbox = mbox;
    }

    /**
     * Represent this property as a string.
     * @return  <code>String</code> representation of this property.
     */
    public String toString() {
        return "<" + propName + " rdf:resource=\"mailto:" + mbox + "\"/>";
    }
}
